//
//  LEHttp.h
//
//  Created by jun on 2019/6/19.
//  Copyright © 2019 lechen. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^YTHttpResponse)(NSInteger code, NSString *message, id data);

@interface LEHttp : NSObject

+(void)httpPost:(NSString*)url token:(NSString*)token param:(NSDictionary*)param response:(YTHttpResponse)response;

+(void)httpJzdxPost:(NSString*)url token:(NSString*)token param:(NSDictionary*)param response:(YTHttpResponse)response;

+(void)httpUpImage:(NSString*)url img:(UIImage*)img key:(NSString*)key token:(NSString*)token response:(YTHttpResponse)response;

+(void)httpUpJzdxImage:(NSString*)url img:(UIImage*)img key:(NSString*)key token:(NSString*)token response:(YTHttpResponse)response;

@end

